package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.domain.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Category;
import com.example.domain.model.BannerDTO;

/**
* @author Administrator
* @description 针对表【banner】的数据库操作Service
* @createDate 2023-03-20 09:43:41
*/
public interface BannerService extends IService<Banner> {

    IPage<BannerDTO> getList(Page<Banner> page);
    Banner getById(String id);
    boolean save(Banner banner);
    boolean update(String id,Banner banner);
    boolean delete(String id);
}
